package com.xiaoliang.entity;

import java.io.Serializable;

/**
 * @author XIAOLIANG
 * @ClassName Employee.java
 * @Description TODO
 * @createTime 2021年03月08日 19:13:00
 */
public class Employee implements Serializable {

	private Integer employeeId;
	private String employeeName;
	private Integer age;
	private String sex;
	private String birthday;
	private Double salary;
	private Integer departmentId;


	public Employee() {
	}

	public Employee(Integer employeeId, String employeeName, Integer age, String sex, String birthday, Double salary, Integer departmentId) {
		this.employeeId = employeeId;
		this.employeeName = employeeName;
		this.age = age;
		this.sex = sex;
		this.birthday = birthday;
		this.salary = salary;
		this.departmentId = departmentId;
	}

	public Employee(String employeeName, Integer age, String sex, String birthday, Double salary) {
		this.employeeName = employeeName;
		this.age = age;
		this.sex = sex;
		this.birthday = birthday;
		this.salary = salary;
	}

	public Integer getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(Integer employeeId) {
		this.employeeId = employeeId;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public Integer getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}

	@Override
	public String toString() {
		return "Employee{" +
				"employeeId=" + employeeId +
				", employeeName='" + employeeName + '\'' +
				", age=" + age +
				", sex='" + sex + '\'' +
				", birthday='" + birthday + '\'' +
				", salary=" + salary +
				", departmentId=" + departmentId +
				'}';
	}
}
